<template>
	<view class="pad-lr-30">
		<view class="pad-tb-40 display align-items view_view" v-for="item in list" :key="item.id">
			<image :src="item.avatar" mode=""></image>
			<view class="ml20">
				<view class="fontSize-32">{{item.nickname}}{{item.mobile}}</view>
				<view class="mar-top-16 col-6 fontSize-26">邀约时间:{{item.create_time}}</view>
			</view>
		</view>
		<view class="display-ce align-items" v-if="list.length==0">
			<tm-result :showBtn="false" subTitle=" " title="暂无数据" color=""></tm-result>
		</view>
	</view>
</template>

<script lang="ts" setup>
import { onLoad } from '@dcloudio/uni-app';
// import {invite_index} from '@/utils/api'
import { ref } from 'vue';
onLoad((options)=>{
	mid.value = options.mid
	_invite_index()
})
const list = ref()
const mid = ref()
const _invite_index =() =>{
	invite_index({mid:mid.value}).then(res=>{
		if(res.code==1){
			list.value = res.data.list
		}
	})
}
</script>

<style lang="scss">
@import 'invitedetails.scss';
</style>
